home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
081-090
/
amok90
/
bumprevmo1.0
/
bumprevmo.doc
< prev
next >
Wrap
Text File
|
1993-11-04
|
1KB
|
47 lines
BumpRevMO BumpRevMO
NAME
BumpRevMO -- updating revision module (xxxRev.mod and xxxRev.def)
SYNOPSIS
BumpRevMO Version/N/A,File/A,Modula/S
FUNCTION
This tools works like the bumprev tool on the developers disks,
but outputs Modula-2 and Oberon source.
It creates a new module with the tools name concated with
"Rev", and (if not already existing) a revision file with the
name of this module and extension ".rev".
If the option Modula is set, then the program will create a
proper Modula-2 definition module, else a Oberon module.
If the txt/ sub-dir exists, the program will cd there and then
try to open the needed file. This behavior should become more
flexible in future to work like AmigaOberon and perhaps like
M2Amiga.
EXAMPLE
shell-prompt> bumprev 17 foobar
bumprev: creating new revision file
bumprev: bumped foobar to revision 1
shell-prompt> bumprev 17 foobar
bumprev: bumped foobar to revision 2
This has created the files foobarRev.mod and foobarRev.rev.
foobarRev.mod looks like this:
.....8<-------
MODULE foobarRev;
CONST
version * = 17;
revision * = 2;
date * = '9.3.93';
vers * = 'foobar 17.2';
vString * = 'foobar 17.2 (9.3.93)\r\n';
versTag * = '$VER: foobar 17.2 (9.3.93)\r\n';
END foobarRev.
.....8<-------